package com.tuo51.evaluate.vo;

import com.tuo51.evaluate.domain.appusers.PayWxOrder;
import com.tuo51.evaluate.domain.appusers.PromoCode;
import com.tuo51.core.domain.staffs.Staff;
import com.tuo51.foudation.utils.CopyUtils;
import com.tuo51.manager.vo.OrganizationVO;
import lombok.Data;

@Data
public class PayWxOrderVO {

	private String id;

	private Staff user;

	private VipVO product;

	private OrganizationVO org;

	private String orderNo;

	private String appId;

	private String mchId;

	private String transactionId;

	private String resultCode;

	private String openId;

	private String tradeType;

	private String bankType;

	private Integer totalFee;

	private PromoCode promoCode;

	private String attach;

	private String timeEnd;

	private Integer productIssueStatus;

	private java.util.Date createTime;

	private Integer status;

	public static PayWxOrderVO of(PayWxOrder payWxOrder){
		PayWxOrderVO ret = new PayWxOrderVO();

		CopyUtils.copyProperties(payWxOrder, ret);

		return ret;
	}
}
